{include file="public/header" /}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.css"}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.js"}
<style type="text/css">
#des,#des input{ width: 40px;text-align:center;}
#id{ width: 78px; }
.bs-checkbox{ width: 36px; height: 40px }
.fixed-table-toolbar .columns,.fixed-table-toolbar .search{margin-left:0px; margin-top: 0px }
#title span{ float: right; }
</style>
 <body class="gray-bg">
 <div class="wrapper wrapper-content {:config('adminClass.main')}">
    <div class="ibox float-e-margins">
        {include file="public/tophead"}
        {include file="public/top" /}
        <div class="ibox-content">
        {include file="public/topsection"}
            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="fixed-table-toolbar">
                        <form  method="get" action="">
                            <div class="pull-left search">
                                <div class="columns columns-right btn-group pull-left">
                                    <select class="form-control" name="type">
                                        <option value="uid">会员id</option>
                                        <option value="id" {php}if(input('?param.type')){if(input('param.type')=='id'){echo "selected";} }{/php}>邀请码</option>
                                        <option value="nickname" {php}if(input('?param.type')){if(input('param.type')=='nickname'){echo "selected";} }{/php}>昵称</option>
                                        <option value="status" {php}if(input('?param.type')){if(input('param.type')=='mobile'){echo "selected";} }{/php}>状态</option>
                                    </select>
                                </div>
                                <div class="pull-right search">
                                    <button style="border-radius:0px; border:1px solid #e5e6e7; border-left:0px" class="btn btn-default btn-outline" type="submit">搜索</button>
                                </div>
                                <div class="pull-right search">
                                    <input class="form-control input-outline" type="text"

                                     name="name" placeholder="搜索会员" value="{:input('name')}">
                                </div>
                                

                            </div>
                        </form>
                    </div>
                    <div class="example">
                        <form class="form-horizontal" method="post">
                        <table data-toggle="table">
                            <thead>
                                <tr>
                                    <th>邀请码</th>
                                    <th data-align="center">uid</th>
                                    <th>昵称</th>
                                    <th data-align="center">零钱</th>
                                    <th data-align="center">累计收益</th>
                                    <th data-align="center">邀请数</th>
                                    <th data-align="center">状态</th>
                                    <th data-align="center">加入时间</th>
                                    <th data-align="center">是否推广</th>
                                </tr>
                            </thead> 
                            <tbody id="form">
                                {volist name="data" id="v"}
                                <tr id="id{$v.id}" class="class">
                                    <td>{$v.uid}</td>
                                    <td>{$v.uid}</td>
                                    <td>{$v.nickname}</td>
                                    <td>￥{$v.money}</td>
                                    <td>￥{$v.money_num}</td>
                                    <td>{$v.tj_num}</td>
                                    <td>{$v.status=='1'?'合伙人':'付费会员'}</td>
                                    <td>{:date('Y-m-d h:i:s',$v.addtime)}</td>
                                    <td>{if condition="$v.tj==0"}是{else /}否{/if}</td>
                                   <!--  <td>
                                        <div class="btn-group">
                                            <div data-toggle="dropdown" class="btn btn-primary btn-xs dropdown-toggle">操作 <span class="caret"></span>
                                            </div>
                                            <ul class="dropdown-menu">

                                                <li><a onClick="add('{:url('add',['id'=>$v['id'],'url'=>-1])}')">修改</a>
                                                </li>
                                                <li class="divider"></li>
                                                <li><a onClick="del({$v.id})">删除</a>
                                                </li>
                                            </ul>
                                        </div>
                                    </td> -->
                                </tr>
                                {/volist}
                            </tbody>
                        </table>
                        </form>
                    </div>
                </div>  
            </div>
            <hr>
            <div class="row row-lg">
                <div class="col-sm-12 pages">{$page}</div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script type="text/javascript">
function del(id){
    swal_del(id,"{:url('del')}")
}
 
</script>
 